package com.mtw.bbs.common.core.exception;

import static com.mtw.bbs.common.core.enums.ResultCode.NO_AUTH;

public class AuthException  extends BaseException {


    public AuthException(String msg) {
        super(NO_AUTH.getCode(),msg);
    }

    public AuthException( String message, Throwable cause) {
        super(NO_AUTH.getCode(),message, cause);
    }

    public AuthException(String errorCode, String message) {
        super(errorCode,message);
    }

    public AuthException(String errorCode, String message, Throwable cause) {
        super(errorCode,message, cause);
    }
}
